<h1 class="loose" style="float:left;">Log in</h1>
<span style="float:left;margin:20px 0 0 20px;font-size:11px;">or</span>
<?php 
if (empty($this->next)) {
?>
<a id="login_fb"
href="<?php echo $this->url(array("controller"=>"user", "action"=>"fblogin"), "default", true)?>">Log in with Facebook</a>
<?php } else {?>
<a id="login_fb"
href="<?php echo $this->url(array("controller"=>"user", "action"=>"fblogin", "next"=>urlencode($this->next)), "default", true)?>">Log in with Facebook</a>
<?php }?>
<div id="formWrapper">
<?php 
echo $this->form;
?>
</div>